package cn.zn.modules.pz.his.entity;

import lombok.Data;
import org.mongodb.morphia.annotations.Entity;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDate;
import java.util.Date;

@Data
@Entity
@Document(collection = "pz_audit")
public class PzAudit {
    @Field("ap")
    private Integer ap;
    @Field("main_id")
    private String mainId;
    @Field("activity_name")
    private String activityName;
    @Field("assignee_code")
    private String assigneeCode;
    @Field("start_time")
    private LocalDate startTime;
    @Field("end_time")
    private LocalDate endTime;
    @Field("duration")
    private Long duration;
    @Field("group_code")
    private String groupCode;
    @Field("assignee_name")
    private String assigneeName;
    @Field("sign_img_path")
    private String signImgPath;
    @Field("confirm_img_path")
    private String confirmImgPath;

}
